<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:include="~{common/header :: commonCss}"></div>
    <link rel="stylesheet" th:href="@{/manager/css/login.css}" />
</head>
<body>
<div class="nav">
    欢迎使用~<span th:text="#{company.system.name}"></span>
</div>
<div class="shadow"></div>
<div class="login">
    <form id="form-data" th:action="@{/login}" th:object="${manager}" method="post">
        <table>
            <tr><td><h3 class="text-center">用&emsp;户&emsp;登&emsp;录</h3></td></tr>
            <tr><td>
                <input type="text" class="form-control" th:field="*{userName}" placeholder="账号">
            </td></tr>
            <tr><td>
                <input type="password" class="form-control" th:field="*{passWord}" placeholder="密码">
            </td></tr>
            <tr><td>
                <div class="error_msg" th:text="${msg}"></div>
            </td></tr>
            <tr><td>
                <button type="button" id="form-submit" class="btn btn-primary">登&emsp;录</button>
            </td></tr>
        </table>
    </form>
</div>

<div th:include="~{common/footer :: commonJs}"></div>
<script th:src="@{/manager/js/login.js}"></script>
</body>
</html>